<!DOCTYPE html>
<html>

<head>
    <include file="Share:meta" />
    <script src="../Public/plugins/jsFormat/jsFormat.js"></script>
    <script src="../Public/plugins/citySelect/jsAddress.js"></script>
</head>

<body oncontextmenu="self.event.returnValue=false" ondragstart="return false" class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <include file="Share:header" />
        <include file="Share:left" />
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>订单<small></small></h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">订单详情</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title">订单详情</h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form class="form-horizontal" action="" method="post" enctype="multipart/form-data">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">订单编号</label>
                                <div class="col-sm-10">
                                    <input type="text" name="orderid" id="inputEventCode" class="form-control" value="{$info.orderid}" placeholder=""  required="required" autocomplete="off">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">门店</label>
                                <div class="col-sm-10">
                                    <input type="text" name="shopname" id="inputEventCode" class="form-control" value="{$info.shopname}" placeholder="" required="required" autocomplete="off">
                                </div>
                            </div>
                          
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">客户</label>
                                <div class="col-sm-10">
                                    <input type="text" name="realname" id="inputEventCode" class="form-control" value="{$info.realname}" placeholder=""  required="required" autocomplete="off">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">商品原价</label>
                                <div class="col-sm-10">
                                    <input type="text" name="realname" id="inputEventCode" class="form-control" value="{$info.price}" placeholder="" required="required" autocomplete="off">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">商品售价</label>
                                <div class="col-sm-10">
                                    <input type="text" name="discount_price" id="inputEventCode" class="form-control" value="{$info.discount_price}" placeholder=""  required="required" autocomplete="off">
                                </div>
                            </div>
                         
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">类别</label>
                                <div class="col-sm-10">
                                    <select class="form-control" id="cate">
                                        <option value="0">没选</option>
                                        <option value="1">美发</option>
                                        <option value="2">美容</option>
                                    </select>
                                    <script type="text/javascript">
                                        $("#cate").val('{$info.cate}');
                                    </script>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">染发过程</label>
                                <div class="col-sm-10">
                                    <input type="text" name="process" id="inputEventCode" class="form-control" value="{$info.process}" autocomplete="off">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">烫发分类</label>
                                <div class="col-sm-10">
                                    <select class="form-control" id="perm_type">
                                        <option value="1">陶瓷烫</option>
                                        <option value="2">化学烫</option>
                                        <option value="3">生化烫</option>
                                        <option value="4">冷烫</option>
                                        <option value="5">SPA烫</option>
                                    </select>
                                    <script type="text/javascript">
                                        $("#perm_type").val('{$info.perm_type}');
                                    </script>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">染发类型</label>
                                <div class="col-sm-10">
                                    <select class="form-control" id="salon_type">
                                        <option value="1">全染</option>
                                        <option value="2">挑染</option>
                                    </select>
                                    <script type="text/javascript">
                                        $("#salon_type").val('{$info.salon_type}');
                                    </script>
                                </div>
                            </div>
                             <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">烫发加热时间</label>
                                <div class="col-sm-10">
                                    <input type="text" name="hot_time" id="inputHot_time" class="form-control" value="{$info.hot_time}">
                                </div>
                            </div>
                             <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">停留时间</label>
                                <div class="col-sm-10">
                                    <input type="text" name="hot_time" id="inputHot_time" class="form-control" value="{$info.stay_time}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">双氧度</label>
                                <div class="col-sm-10">
                                    <input type="text" name="hot_time" id="inputHot_time" class="form-control" value="{$info.degree}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">对比度</label>
                                <div class="col-sm-10">
                                    <input type="text" name="hot_time" id="inputHot_time" class="form-control" value="{$info.difftxt}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">染后建议</label>
                                <div class="col-sm-10">
                                    <input type="text" name="hot_time" id="inputHot_time" class="form-control" value="{$info.suggest}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">下单人</label>
                                <div class="col-sm-10">
                                    <input type="text" name="custName" id="inputHot_time" class="form-control" value="{$info.custName}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">订单状态</label>
                                <div class="col-sm-10">
                                    <select name="order_status" id="is_forbit" class="form-control" required="required">
                                        <option value="0">进行中</option>
                                        <option value="1">已完成</option>
                                    </select>
                                    <script type="text/javascript">
                                        $("#is_forbit").val('{$info.is_forbit}');
                                    </script>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="content">
                                    <table class="table table-striped table-hover">
                                        <tbody>
                                            <tr style="background-color: #E6E6FA;">
                                                <th style="width: 5%;">订单号</th>
                                                <th style="width: 10%;">分类</th>
                                                <th style="width: 10%;">产品名称</th>
                                                <th style="width: 10%;">产品编号</th>
                                                <th style="width: 10%;">商品原价</th>
                                                <th style="width: 10%;">商品售价</th>
                                                <th style="width: 10%;">折扣备注</th>
                                                <th style="width: 10%;">状态</th>
                                            </tr>
                                            <volist name="list" id="vo">
                                                <tr class='trstyle{$vo.is_forbit}'>
                                                    <td>{$vo.order_id}</td>
                                                    <td>
                                                        <switch name="vo.catesec">
                                                            <case value="0" break="0">
                                                                美容
                                                            </case>
                                                            <case value="1" break="1">
                                                                烫发
                                                            </case>
                                                            <case value="2" break="2">
                                                                染发
                                                            </case>
                                                            <case value="3" break="3">
                                                                护理
                                                            </case>
                                                            <default />
                                                        </switch>
                                                    </td>
                                                    <td>{$vo.pname}</td>
                                                    <td>{$vo.prono}</td>
                                                    <td>{$vo.price}</td>
                                                    <td>{$vo.discount_price}</td>
                                                    <td>{$vo.discount_reason}</td>
                                                    <td><eq name="vo.is_forbit" value="0">
                                                            未使用
                                                            <else/>
                                                            已使用
                                                    </eq></td>
                                                </tr>
                                            </volist>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer col-sm-offset-2">
                          
                            <a class="btn btn-warning" href="/Order/olist" role="button">返回</a>
                        </div>
                        <br>
                        <!-- /.box-footer -->
                    </form>
                </div>
              
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <include file="Share:copyright" />
        <include file="Share:setting" />
    </div>
    <include file="Share:js" />
    <script type="text/javascript">
        $("#OrderManager").addClass("active");
        $("#order_handle").addClass("active");
        $(function() {
            
            addressInit('proviceId', 'cityId', 'districtId', '{$info.shipping_province}', '{$info.shipping_city}', '{$info.shipping_distinct}');
            
        });
    
    </script>
</body>

</html>
